package com.healthtop.common;

/**
 * Created by Peter on 2017/9/12.
 */
public enum ResponseStatus {


    LOGIN_SUCCESS("登录成功","login success",20001),

    LOGIN_ERROR_NOT_MATCH("用户名密码不匹配","username or password not matched",50001),

    USER_NAME_NOT_EXISTS("用户名不存在","username not exists",50002),

    NO_PERMISSIONS_TO_MODIFY("没有权限修改","no permissions to modify",50003),

    NOT_FOUND_PRODUCT_BY_ID("产品未找到","not found product by id",50004),

    PERMISSIONS_CHANGE_SUCCESSFULLY("权限修改成功","permissions change successfully",20001),

    VERIFICATION_CODE_INPUT_ERROR("验证码输入错误","verification code input error",50005),

    IT_IS_ALREADY_REGISTERED("已注册过了","it is already registered",50006),

    THE_USER_NAME_HAS_BEEN_USED("用户名已被人使用","The user name has been used",50007),

    THE_CELL_PHONE_NUMBER_HAS_BEEN_USED("手机号已被人使用","The cell phone number has been used",50008),

    ;





    public final String message;

    public final String englishMessage;

    public final int status;

    ResponseStatus(String message, String englishMessage, int status){
        this.message = message;
        this.englishMessage = englishMessage;
        this.status = status;
    }

}
